#!/usr/bin/env python
#

import os


def read_lines(file_name):
    cfg_file = open(os.path.abspath(file_name))
    lines = cfg_file.readlines()
    newlines = []
    for line in lines:
        newlines.append(line.rstrip())
    return newlines